package pe.gob.minam.sismon.web.controller;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import org.apache.log4j.Logger;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import pe.gob.minam.sismon.web.bean.AccionBean;
import pe.gob.minam.sismon.web.bean.ConfigIndicadorBean;
import pe.gob.minam.sismon.web.bean.ConfigMetaBean;

@Controller
@Scope("session")
public class ConfigMetaController implements Serializable {

	private static final long serialVersionUID = 1L;
	private static final Logger MENSAJELOG = Logger
			.getLogger(ConfigMetaController.class);

	private List<ConfigMetaBean> lstConfigMeta;
	private List<AccionBean> lstAccion;

	public ConfigMetaController() {
		lstConfigMeta = new ArrayList<ConfigMetaBean>();
		lstConfigMeta.add(new ConfigMetaBean("MINAM", "META A", "ACCION A"));
		lstConfigMeta.add(new ConfigMetaBean("MINAM", "META A", "ACCION B"));
		lstConfigMeta.add(new ConfigMetaBean("MINAM", "META B", "ACCION C"));
		lstConfigMeta.add(new ConfigMetaBean("MINAM", "META C", "ACCION D"));
		lstConfigMeta.add(new ConfigMetaBean("GOBIERNO REGIONAL DE LIMA", "META A", "ACCION A"));
		lstConfigMeta.add(new ConfigMetaBean("GOBIERNO REGIONAL DE LIMA", "META A", "ACCION A"));
		
		lstAccion = new ArrayList<AccionBean>();
		lstAccion.add(new AccionBean("ACCION A"));
		lstAccion.add(new AccionBean("ACCION B"));
		lstAccion.add(new AccionBean("ACCION C"));
		lstAccion.add(new AccionBean("ACCION D"));
		lstAccion.add(new AccionBean("ACCION E"));
		
		
	}
	public List<ConfigMetaBean> getLstConfigMeta() {
		return lstConfigMeta;
	}

	public void setLstConfigMeta(List<ConfigMetaBean> lstConfigMeta) {
		this.lstConfigMeta = lstConfigMeta;
	}
	public List<AccionBean> getLstAccion() {
		return lstAccion;
	}
	public void setLstAccion(List<AccionBean> lstAccion) {
		this.lstAccion = lstAccion;
	}
	

}
